﻿using System;
using Video.Domain.Users;
namespace Video.Domain.Videos
{
    /// <summary>
    /// 点赞表
    /// </summary>
    public class Like:Entity
    {

        /// <summary>
        /// 视频Id
        /// </summary>
        public Guid VideoId { get; set; }
        public Guid UserId { get; set; }
        /// <summary>
        /// 点赞分类
        /// </summary>
        public LikeType Type { get; set; }
        public virtual UserInfo? User { get; set; }
        public virtual Video? Video { get; set; }
    }
}
